<?php
if (is_home())
{
?>
	<?php
                        } elseif (is_single()) {
	?>

			<div class="content_box_sidebar">
                        <div class="fb-like" data-href="<?php the_permalink(); ?>" data-send="false" data-layout="box_count" data-show-faces="true" data-font="lucida grande"></div>

<a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink(); ?>" data-text="<?php the_title(); ?>" data-count="vertical">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

<g:plusone size="tall"></g:plusone>		
			
                    </div>
			
			<?php
}
// A second sidebar for widgets, just because.
if ( is_active_sidebar( 'secondary-widget-area' ) ) :
    ?>
<div class="content_box_sidebar">
	<?php dynamic_sidebar( 'secondary-widget-area' ); ?>
</div>
<?php endif; ?>